package com.resto.scm.web.dao;

import com.resto.common.dao.BaseDao;
import com.resto.scm.web.dto.MaterialStockDo;
import com.resto.scm.web.model.DocMaterialStock;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface DocMaterialStockDao extends BaseDao<DocMaterialStock> {

    List<MaterialStockDo> queryJoin4Page(String shopDetailId);

    DocMaterialStock findStockByShopId(@Param("shopId") String shopId, @Param("materialId") Long materialId);

}
